#!/bin/bash

echo "argc:$#"

declare -i argn=1
while [ "$#" -gt 0 ] ; do
	echo "arg$argn:$1"
	shift 1
	argn=$(( argn + 1 ))
done
